<?php
class group extends table
{
	protected $_name	= 'my_group';
	protected $fields	= array('gid',	'wid',	'admin',	'gname',	'class',	'article',	'data',	'classid',);
	protected $_primary = 'gid';

    public function getRow($where=null)
    {
        $data = parent::getRow($where);
        $data['class']    = explode(',', $data['class']);
        $data['article']  = explode(',', $data['article']);
        $data['data']     = explode(',', $data['data']);
        $data['classid']  = explode(',', $data['classid']);
        return $data;
    }
}
